import React, { useState } from 'react'
import style from './index.less'
import { Tabs } from 'antd-mobile'
import Record from './record'
import Message from './message'

export default () => {
  const [state,setState]=useState()
  return (
    <div className={style.page}>
        <Tabs className={style.tab} activeKey={state}>
          <Tabs.Tab title='发布供货信息' key='1'>
            <Message/>
          </Tabs.Tab>
          <Tabs.Tab title='发布记录' key='2'>
            <Record />
          </Tabs.Tab>
        </Tabs>
    </div>
  )
}
